package org.gnomus.server;

import com.google.appengine.api.utils.SystemProperty;

import java.util.*;

public class C {

    public static final boolean DEBUG = true;
    public static final boolean ENABLE_ACCESS_LOG = true;
    public static final boolean PRODUCTION =
            SystemProperty.environment.value() == SystemProperty.Environment.Value.Production;

    public static final String APPENGINE_UA = "AppEngine-Google";
    public static final String ACCESS_LOG_URI = "/access.log";
    public static int USER_REMEMBER_TIME = 60 * 60 * 24 * 7; // one week in seconds

    public static final Map<String, String> assignments = new LinkedHashMap<String, String>() {{
        put("periodic_squares", "Periodic Squares");
        put("atomic_nuclei", "Atomic Nuclei");
    }};
    public static final String[][] codes = {
            {"find",    "read",     "make",     "write",    "build",    "share",    "teach",    "learn"},
            {"tall",    "short",    "big",      "small",    "funny",    "silly",    "huge",     "tiny" },
            {"blue",    "teal",     "cyan",     "pink",     "gold",     "aqua",     "rose",     "ruby"},
            {"book",    "coin",     "atom",     "paper",    "mouse",    "lion",     "bird",     "lizard"}
    };
}
